package com.leyou.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties(prefix = "cors")
@Data
public class GlobalCorsProperties {
    private List<String> allowedOrigin;
    private Boolean allowCredentials;
    private List<String> allowedMethods;
    private String allowedHeader;
    private String registerCorsConfigurationPath;
}
